package dockyin.action.pattern.command;

public class Invoker {
    private ICommand command;

    public Invoker(ICommand command) {
        this.command = command;
    }

    public void action() {
        System.out.println("Invoker actions!");
        command.execute();
    }
}
